package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 菜品及套餐分类 服务类
 * </p>
 *
 * @author Guoyh
 * @since 2022-08-19
 */
public interface CategoryService extends IService<Category> {

    void saveDish(Category category);

    Page selectByPageAndCondition(int page, int pageSize);

    void deleteById(long id);

    void updateCategory(Category category);

    List<Category> list(Category category);
}
